package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserMedalRelation;
import com.quanyan.user.model.db.TbUserMedalRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserMedalRelationMapper {
    int countByExample(TbUserMedalRelationExample example);

    int deleteByExample(TbUserMedalRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserMedalRelation record);

    int insertSelective(TbUserMedalRelation record);

    List<TbUserMedalRelation> selectByExample(TbUserMedalRelationExample example);

    TbUserMedalRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserMedalRelation record, @Param("example") TbUserMedalRelationExample example);

    int updateByExample(@Param("record") TbUserMedalRelation record, @Param("example") TbUserMedalRelationExample example);

    int updateByPrimaryKeySelective(TbUserMedalRelation record);

    int updateByPrimaryKey(TbUserMedalRelation record);
}